<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: PCA_Private_Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#func-members">函数</a>  </div>
  <div class="headertitle">
<div class="title">PCA_Private_Functions<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a> &raquo; <a class="el" href="group___p_c_a.html">PCA</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
函数</h2></td></tr>
<tr class="memitem:gab97a81e235b9e8d9a8bd9244619eba34"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gab97a81e235b9e8d9a8bd9244619eba34">PCA_DeInit</a> (void)</td></tr>
<tr class="memdesc:gab97a81e235b9e8d9a8bd9244619eba34"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the PCA peripheral registers to their default reset values.  <a href="#gab97a81e235b9e8d9a8bd9244619eba34">更多...</a><br /></td></tr>
<tr class="separator:gab97a81e235b9e8d9a8bd9244619eba34"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2708d3c74da3ca91a99876370acaecfc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga2708d3c74da3ca91a99876370acaecfc">PCA_Cmd</a> (FunctionalState NewState)</td></tr>
<tr class="memdesc:ga2708d3c74da3ca91a99876370acaecfc"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA peripheral.  <a href="#ga2708d3c74da3ca91a99876370acaecfc">更多...</a><br /></td></tr>
<tr class="separator:ga2708d3c74da3ca91a99876370acaecfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8b7713c6e7622a517a51d8ac3c497527"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga8b7713c6e7622a517a51d8ac3c497527">PCA_BaseInit</a> (<a class="el" href="struct_p_c_a___base_init_type_def.html">PCA_BaseInitTypeDef</a> *PCA_InitStruct)</td></tr>
<tr class="memdesc:ga8b7713c6e7622a517a51d8ac3c497527"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA Unit basic function according to the specified parameters in the PCA_HandleTypeDef.  <a href="#ga8b7713c6e7622a517a51d8ac3c497527">更多...</a><br /></td></tr>
<tr class="separator:ga8b7713c6e7622a517a51d8ac3c497527"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf0d80e150fa24aad4107a4244f93ab16"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gaf0d80e150fa24aad4107a4244f93ab16">PCA_OC_Config</a> (<a class="el" href="struct_p_c_a___o_c___init_type_def.html">PCA_OC_InitTypeDef</a> *OC_Config)</td></tr>
<tr class="memdesc:gaf0d80e150fa24aad4107a4244f93ab16"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA output compare Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___o_c___init_type_def.html" title="PCA Output Compare Configuration Structure definition">PCA_OC_InitTypeDef</a>.  <a href="#gaf0d80e150fa24aad4107a4244f93ab16">更多...</a><br /></td></tr>
<tr class="separator:gaf0d80e150fa24aad4107a4244f93ab16"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga73b40ab08526d1061e2976323b91c011"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga73b40ab08526d1061e2976323b91c011">PCA_OC_Cmd</a> (uint32_t Channel, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga73b40ab08526d1061e2976323b91c011"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA output compare generation.  <a href="#ga73b40ab08526d1061e2976323b91c011">更多...</a><br /></td></tr>
<tr class="separator:ga73b40ab08526d1061e2976323b91c011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga171398258479aa84481d20b9b280ec9c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga171398258479aa84481d20b9b280ec9c">PCA_OC_INVCmd</a> (uint32_t Channel, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga171398258479aa84481d20b9b280ec9c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the PCA inverse output compare generation.  <a href="#ga171398258479aa84481d20b9b280ec9c">更多...</a><br /></td></tr>
<tr class="separator:ga171398258479aa84481d20b9b280ec9c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga967ca99641e3595e38ebc3fc2416d57c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga967ca99641e3595e38ebc3fc2416d57c">PCA_IC_Config</a> (<a class="el" href="struct_p_c_a___i_c___init_type_def.html">PCA_IC_InitTypeDef</a> *IC_Config)</td></tr>
<tr class="memdesc:ga967ca99641e3595e38ebc3fc2416d57c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the PCA input capture Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___i_c___init_type_def.html" title="PCA Input Capture Configuration Structure definition">PCA_IC_InitTypeDef</a>.  <a href="#ga967ca99641e3595e38ebc3fc2416d57c">更多...</a><br /></td></tr>
<tr class="separator:ga967ca99641e3595e38ebc3fc2416d57c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga66a4eddd3a03c8f134183bcff0cebb3e">PCA_ITConfig</a> (uint8_t PCA_IT, FunctionalState NewState)</td></tr>
<tr class="memdesc:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables or disables the specified PCA interrupt.  <a href="#ga66a4eddd3a03c8f134183bcff0cebb3e">更多...</a><br /></td></tr>
<tr class="separator:ga66a4eddd3a03c8f134183bcff0cebb3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="memItemLeft" align="right" valign="top">ITStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gab5e4f13f9f080e7962477fa6a0a823bf">PCA_GetITStatus</a> (uint8_t PCA_IT)</td></tr>
<tr class="memdesc:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified PCA interrupt is set or not.  <a href="#gab5e4f13f9f080e7962477fa6a0a823bf">更多...</a><br /></td></tr>
<tr class="separator:gab5e4f13f9f080e7962477fa6a0a823bf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="memItemLeft" align="right" valign="top">FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga3811dff53cc45c4f10f9373aad3eee4a">PCA_GetFlagStatus</a> (uint8_t PCA_FLAG)</td></tr>
<tr class="memdesc:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Checks whether the specified PCA flag is set or not.  <a href="#ga3811dff53cc45c4f10f9373aad3eee4a">更多...</a><br /></td></tr>
<tr class="separator:ga3811dff53cc45c4f10f9373aad3eee4a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga4dc308ce812dd8ede71b5b699d84b1a9">PCA_ClearITPendingBit</a> (uint8_t PCA_IT)</td></tr>
<tr class="memdesc:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the PCA's interrupt pending bits.  <a href="#ga4dc308ce812dd8ede71b5b699d84b1a9">更多...</a><br /></td></tr>
<tr class="separator:ga4dc308ce812dd8ede71b5b699d84b1a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae004d9f618bd46ac9b084ba700bb0d01"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gae004d9f618bd46ac9b084ba700bb0d01">PCA_ClearFlag</a> (uint8_t PCA_FLAG)</td></tr>
<tr class="memdesc:gae004d9f618bd46ac9b084ba700bb0d01"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the PCA's pending flags.  <a href="#gae004d9f618bd46ac9b084ba700bb0d01">更多...</a><br /></td></tr>
<tr class="separator:gae004d9f618bd46ac9b084ba700bb0d01"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga8a89870fbe89fe0c70e0f59a100b3f5f">PCA_SetPWMDuty</a> (uint32_t Channel, uint8_t Duty)</td></tr>
<tr class="memdesc:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets PCA PWM ouput duty cycle.  <a href="#ga8a89870fbe89fe0c70e0f59a100b3f5f">更多...</a><br /></td></tr>
<tr class="separator:ga8a89870fbe89fe0c70e0f59a100b3f5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gae90bab8b8bf3a4b1cccdd5e12d81a675">PCA_IC0_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel0 (PCA Input capture).  <a href="#gae90bab8b8bf3a4b1cccdd5e12d81a675">更多...</a><br /></td></tr>
<tr class="separator:gae90bab8b8bf3a4b1cccdd5e12d81a675"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf8598c00201b2ba51075ffb37f58571f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gaf8598c00201b2ba51075ffb37f58571f">PCA_IC1_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gaf8598c00201b2ba51075ffb37f58571f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel1 (PCA Input capture).  <a href="#gaf8598c00201b2ba51075ffb37f58571f">更多...</a><br /></td></tr>
<tr class="separator:gaf8598c00201b2ba51075ffb37f58571f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga065d7157f6cd2f9bbff49eaa308a05e2">PCA_IC2_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel2 (PCA Input capture).  <a href="#ga065d7157f6cd2f9bbff49eaa308a05e2">更多...</a><br /></td></tr>
<tr class="separator:ga065d7157f6cd2f9bbff49eaa308a05e2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c480dae466f9614741031d439c2e4a9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga2c480dae466f9614741031d439c2e4a9">PCA_IC3_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:ga2c480dae466f9614741031d439c2e4a9"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel3 (PCA Input capture).  <a href="#ga2c480dae466f9614741031d439c2e4a9">更多...</a><br /></td></tr>
<tr class="separator:ga2c480dae466f9614741031d439c2e4a9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad58462fa11fae84c6bd44f9d0616c26e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#gad58462fa11fae84c6bd44f9d0616c26e">PCA_IC4_TriggerConfig</a> (uint32_t PCA_Trigger_ICPolarity)</td></tr>
<tr class="memdesc:gad58462fa11fae84c6bd44f9d0616c26e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the Channel4 (PCA Input capture).  <a href="#gad58462fa11fae84c6bd44f9d0616c26e">更多...</a><br /></td></tr>
<tr class="separator:gad58462fa11fae84c6bd44f9d0616c26e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9876456753dbb5955606cb223a253440"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___p_c_a___private___functions.html#ga9876456753dbb5955606cb223a253440">PCA_GetCompareValue</a> (uint32_t Channel)</td></tr>
<tr class="memdesc:ga9876456753dbb5955606cb223a253440"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the PCA Capture Compare Register value on runtime  <a href="#ga9876456753dbb5955606cb223a253440">更多...</a><br /></td></tr>
<tr class="separator:ga9876456753dbb5955606cb223a253440"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<h2 class="groupheader">函数说明</h2>
<a id="ga8b7713c6e7622a517a51d8ac3c497527"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8b7713c6e7622a517a51d8ac3c497527">&#9670;&nbsp;</a></span>PCA_BaseInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_BaseInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_p_c_a___base_init_type_def.html">PCA_BaseInitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>PCA_InitStruct</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the PCA Unit basic function according to the specified parameters in the PCA_HandleTypeDef. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_InitStruct</td><td>: Ponter to PCA base initialization structure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae004d9f618bd46ac9b084ba700bb0d01"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae004d9f618bd46ac9b084ba700bb0d01">&#9670;&nbsp;</a></span>PCA_ClearFlag()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_ClearFlag </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>PCA_FLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the PCA's pending flags. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_FLAG</td><td>specifies the flags to clear. This parameter can be one of the following values: <ul>
<li>PCA_FLAG_CC0: PCA Capture/Compare 0 interrupt flag </li>
<li>PCA_FLAG_CC1: PCA Capture/Compare 1 interrupt flag </li>
<li>PCA_FLAG_CC2: PCA Capture/Compare 2 interrupt flag </li>
<li>PCA_FLAG_CC3: PCA Capture/Compare 3 interrupt flag </li>
<li>PCA_FLAG_CC4: PCA Capture/Compare 4 interrupt flag </li>
<li>PCA_FLAG_OVERFLOW: PCA count overflow interrupt flag </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga4dc308ce812dd8ede71b5b699d84b1a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga4dc308ce812dd8ede71b5b699d84b1a9">&#9670;&nbsp;</a></span>PCA_ClearITPendingBit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_ClearITPendingBit </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>PCA_IT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the PCA's interrupt pending bits. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_IT</td><td>specifies the PCA interrupt pending bits to clear. This parameter can be any combination of the following values: <ul>
<li>PCA_IT_CC0: PCA Capture/Compare 0 interrupt </li>
<li>PCA_IT_CC1: PCA Capture/Compare 1 interrupt </li>
<li>PCA_IT_CC2: PCA Capture/Compare 2 interrupt </li>
<li>PCA_IT_CC3: PCA Capture/Compare 3 interrupt </li>
<li>PCA_IT_CC4: PCA Capture/Compare 4 interrupt </li>
<li>PCA_IT_OVERFLOW: PCA counter overflow interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2708d3c74da3ca91a99876370acaecfc"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2708d3c74da3ca91a99876370acaecfc">&#9670;&nbsp;</a></span>PCA_Cmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_Cmd </td>
          <td>(</td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the PCA peripheral. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">NewState</td><td>The new state of the PCA peripheral. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab97a81e235b9e8d9a8bd9244619eba34"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab97a81e235b9e8d9a8bd9244619eba34">&#9670;&nbsp;</a></span>PCA_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_DeInit </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitializes the PCA peripheral registers to their default reset values. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga9876456753dbb5955606cb223a253440"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9876456753dbb5955606cb223a253440">&#9670;&nbsp;</a></span>PCA_GetCompareValue()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t PCA_GetCompareValue </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Channel</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the PCA Capture Compare Register value on runtime </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>: PCA Channel associated with the capture compare register. This parameter can be one of the following values: <ul>
<li>PCA_CHANNEL_0: PCA Capture/Compare channel0 </li>
<li>PCA_CHANNEL_1: PCA Capture/Compare channel1 </li>
<li>PCA_CHANNEL_2: PCA Capture/Compare channel2 </li>
<li>PCA_CHANNEL_3: PCA Capture/Compare channel3 </li>
<li>PCA_CHANNEL_4: PCA Capture/Compare channel4 </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">16-bit</td><td>value of the capture/compare register (PCA_CCAPx) </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga3811dff53cc45c4f10f9373aad3eee4a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3811dff53cc45c4f10f9373aad3eee4a">&#9670;&nbsp;</a></span>PCA_GetFlagStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">FlagStatus PCA_GetFlagStatus </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>PCA_FLAG</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the specified PCA flag is set or not. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_FLAG</td><td>specifies the flag to check. This parameter can be any combination of the following values: <ul>
<li>PCA_FLAG_CC0: PCA Capture/Compare 0 interrupt flag </li>
<li>PCA_FLAG_CC1: PCA Capture/Compare 1 interrupt flag </li>
<li>PCA_FLAG_CC2: PCA Capture/Compare 2 interrupt flag </li>
<li>PCA_FLAG_CC3: PCA Capture/Compare 3 interrupt flag </li>
<li>PCA_FLAG_CC4: PCA Capture/Compare 4 interrupt flag </li>
<li>PCA_FLAG_OVERFLOW: PCA count overflow interrupt flag </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of PCA_FLAG (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gab5e4f13f9f080e7962477fa6a0a823bf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gab5e4f13f9f080e7962477fa6a0a823bf">&#9670;&nbsp;</a></span>PCA_GetITStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">ITStatus PCA_GetITStatus </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>PCA_IT</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Checks whether the specified PCA interrupt is set or not. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_FLAG</td><td>specifies the interrupt to check. This parameter can be any combination of the following values: <ul>
<li>PCA_IT_CC0: PCA Capture/Compare 0 interrupt </li>
<li>PCA_IT_CC1: PCA Capture/Compare 1 interrupt </li>
<li>PCA_IT_CC2: PCA Capture/Compare 2 interrupt </li>
<li>PCA_IT_CC3: PCA Capture/Compare 3 interrupt </li>
<li>PCA_IT_CC4: PCA Capture/Compare 4 interrupt </li>
<li>PCA_IT_OVERFLOW: PCA count overflow interrupt </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">The</td><td>new state of PCA_IT (SET or RESET). </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gae90bab8b8bf3a4b1cccdd5e12d81a675"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae90bab8b8bf3a4b1cccdd5e12d81a675">&#9670;&nbsp;</a></span>PCA_IC0_TriggerConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC0_TriggerConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>PCA_Trigger_ICPolarity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Channel0 (PCA Input capture). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_Trigger_ICPolarity</td><td>The Input Polarity. This parameter can be one of the following values: <ul>
<li>PCA_Trigger_ICPOLARITY_NONE </li>
<li>PCA_Trigger_ICPOLARITY_RISING </li>
<li>PCA_Trigger_ICPOLARITY_FALLING </li>
<li>PCA_Trigger_ICPOLARITY_BOTHEDGE </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf8598c00201b2ba51075ffb37f58571f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf8598c00201b2ba51075ffb37f58571f">&#9670;&nbsp;</a></span>PCA_IC1_TriggerConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC1_TriggerConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>PCA_Trigger_ICPolarity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Channel1 (PCA Input capture). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_Trigger_ICPolarity</td><td>The Input Polarity. This parameter can be one of the following values: <ul>
<li>PCA_Trigger_ICPOLARITY_NONE </li>
<li>PCA_Trigger_ICPOLARITY_RISING </li>
<li>PCA_Trigger_ICPOLARITY_FALLING </li>
<li>PCA_Trigger_ICPOLARITY_BOTHEDGE </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga065d7157f6cd2f9bbff49eaa308a05e2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga065d7157f6cd2f9bbff49eaa308a05e2">&#9670;&nbsp;</a></span>PCA_IC2_TriggerConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC2_TriggerConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>PCA_Trigger_ICPolarity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Channel2 (PCA Input capture). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_Trigger_ICPolarity</td><td>The Input Polarity. This parameter can be one of the following values: <ul>
<li>PCA_Trigger_ICPOLARITY_NONE </li>
<li>PCA_Trigger_ICPOLARITY_RISING </li>
<li>PCA_Trigger_ICPOLARITY_FALLING </li>
<li>PCA_Trigger_ICPOLARITY_BOTHEDGE </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga2c480dae466f9614741031d439c2e4a9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2c480dae466f9614741031d439c2e4a9">&#9670;&nbsp;</a></span>PCA_IC3_TriggerConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC3_TriggerConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>PCA_Trigger_ICPolarity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Channel3 (PCA Input capture). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_Trigger_ICPolarity</td><td>The Input Polarity. This parameter can be one of the following values: <ul>
<li>PCA_Trigger_ICPOLARITY_NONE </li>
<li>PCA_Trigger_ICPOLARITY_RISING </li>
<li>PCA_Trigger_ICPOLARITY_FALLING </li>
<li>PCA_Trigger_ICPOLARITY_BOTHEDGE </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gad58462fa11fae84c6bd44f9d0616c26e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad58462fa11fae84c6bd44f9d0616c26e">&#9670;&nbsp;</a></span>PCA_IC4_TriggerConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC4_TriggerConfig </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>PCA_Trigger_ICPolarity</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the Channel4 (PCA Input capture). </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_Trigger_ICPolarity</td><td>The Input Polarity. This parameter can be one of the following values: <ul>
<li>PCA_Trigger_ICPOLARITY_NONE </li>
<li>PCA_Trigger_ICPOLARITY_RISING </li>
<li>PCA_Trigger_ICPOLARITY_FALLING </li>
<li>PCA_Trigger_ICPOLARITY_BOTHEDGE </li>
</ul>
</td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga967ca99641e3595e38ebc3fc2416d57c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga967ca99641e3595e38ebc3fc2416d57c">&#9670;&nbsp;</a></span>PCA_IC_Config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_IC_Config </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_p_c_a___i_c___init_type_def.html">PCA_IC_InitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>IC_Config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the PCA input capture Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___i_c___init_type_def.html" title="PCA Input Capture Configuration Structure definition">PCA_IC_InitTypeDef</a>. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">IC_Config</td><td>: Pointer to PCA input capture configuration structure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga66a4eddd3a03c8f134183bcff0cebb3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga66a4eddd3a03c8f134183bcff0cebb3e">&#9670;&nbsp;</a></span>PCA_ITConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_ITConfig </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>PCA_IT</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the specified PCA interrupt. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">PCA_IT</td><td>specifies the PCA interrupt source to enable or disable. This parameter can be any combination of the following values: <ul>
<li>PCA_IT_CC0: Capture/Compare 0 interrupt </li>
<li>PCA_IT_CC1: Capture/Compare 1 interrupt </li>
<li>PCA_IT_CC2: Capture/Compare 2 interrupt </li>
<li>PCA_IT_CC3: Capture/Compare 3 interrupt </li>
<li>PCA_IT_CC4: Capture/Compare 4 interrupt</li>
</ul>
<ul>
<li>PCA_IT_OVERFLOW: Overflow interrupt </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>The new state of the specified PCA interrupt. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga73b40ab08526d1061e2976323b91c011"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga73b40ab08526d1061e2976323b91c011">&#9670;&nbsp;</a></span>PCA_OC_Cmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_OC_Cmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the PCA output compare generation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>: PCA Channel associated with the capture compare register. This parameter can any combination of the following values: <ul>
<li>PCA_CHANNEL_0: Capture/Compare channel0 </li>
<li>PCA_CHANNEL_1: Capture/Compare channel1 </li>
<li>PCA_CHANNEL_2: Capture/Compare channel2 </li>
<li>PCA_CHANNEL_3: Capture/Compare channel3 </li>
<li>PCA_CHANNEL_4: Capture/Compare channel4 </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>The new state of the specified PCA channel output compare generation. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="gaf0d80e150fa24aad4107a4244f93ab16"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf0d80e150fa24aad4107a4244f93ab16">&#9670;&nbsp;</a></span>PCA_OC_Config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_OC_Config </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_p_c_a___o_c___init_type_def.html">PCA_OC_InitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>OC_Config</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the PCA output compare Channels according to the specified parameters in the <a class="el" href="struct_p_c_a___o_c___init_type_def.html" title="PCA Output Compare Configuration Structure definition">PCA_OC_InitTypeDef</a>. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">OC_Config</td><td>: Pointer to PCA output compare configuration structure. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga171398258479aa84481d20b9b280ec9c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga171398258479aa84481d20b9b280ec9c">&#9670;&nbsp;</a></span>PCA_OC_INVCmd()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_OC_INVCmd </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">FunctionalState&#160;</td>
          <td class="paramname"><em>NewState</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables or disables the PCA inverse output compare generation. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>: PCA Channel associated with the capture compare register. This parameter can be any combination of the following values: <ul>
<li>PCA_CHANNEL_0: Capture/Compare channel0 </li>
<li>PCA_CHANNEL_1: Capture/Compare channel1 </li>
<li>PCA_CHANNEL_2: Capture/Compare channel2 </li>
<li>PCA_CHANNEL_3: Capture/Compare channel3 </li>
<li>PCA_CHANNEL_4: Capture/Compare channel4 </li>
</ul>
</td></tr>
    <tr><td class="paramname">NewState</td><td>The new state of the specified PCA channle inverse output compare generation. This parameter can be: ENABLE or DISABLE. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8a89870fbe89fe0c70e0f59a100b3f5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8a89870fbe89fe0c70e0f59a100b3f5f">&#9670;&nbsp;</a></span>PCA_SetPWMDuty()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PCA_SetPWMDuty </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>Channel</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>Duty</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets PCA PWM ouput duty cycle. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">Channel</td><td>: PCA Channel associated with the capture compare register. This parameter can be any combination of the following values: <ul>
<li>PCA_CHANNEL_0: PCA Capture/Compare channel0 </li>
<li>PCA_CHANNEL_1: PCA Capture/Compare channel1 </li>
<li>PCA_CHANNEL_2: PCA Capture/Compare channel2 </li>
<li>PCA_CHANNEL_3: PCA Capture/Compare channel3 </li>
<li>PCA_CHANNEL_4: PCA Capture/Compare channel4 </li>
</ul>
</td></tr>
    <tr><td class="paramname">Duty</td><td>PWM output duty configuration, the duty cycle will decrease from 100% to 0.4% with the increase of Duty value from 0 to 255. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>返回值</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
